@use "../name.scss" as *;
@use "../src/var.scss" as *;

$component: "EditTools";

@include buildView($component) {
  height: 100%;
  width: 100%;
  @include buildWrap($component, "tool1") {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    @include buildWrap($component, "color") {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-around;
      .details {
        width: calc(100% - 120px);
        height: 100%;
        box-sizing: border-box;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        align-content: center;
        flex-wrap: wrap;
        .el-icon {
          margin: 0 6px;
          cursor: pointer;
        }
        .el-input {
          margin: 10px 0;
        }
      }
      @include build("color", "main") {
        cursor: pointer;
        height: 80px;
        width: 80px;
        border-radius: 50%;
        box-shadow: 0 0 4px 2px #000;
      }
    }
    @include buildWrap($component, "font") {
      height: 100%;
      width: 100%;
      display: flex;
      align-items: flex-start;
      justify-content: space-around;
      flex-wrap: wrap;
      .details {
        width: 100%;
        height: 30px;
        box-sizing: border-box;
        padding: 0 6px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        .el-icon {
          margin: 0 6px;
          cursor: pointer;
        }
      }
      @include build("font", "main") {
        width: 100%;
        height: calc(100% - 30px);
        @include build("template", "base") {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          width: 100%;
          height: auto;
          margin: 0.5vh 0;

          .tmptitle {
            white-space: nowrap;
            margin-right: 16px;
            font-size: 13px;
          }
          .wrapline {
            width: 100%;
            margin: 0.5vh 0;
            .el-input-number {
              margin-left: 16px;
            }
          }
        }
      }
    }
  }
  @include buildWrap($component, "tool2") {
    height: calc(100% - 180px);
    box-sizing: border-box;
    .el-input {
      width: 96%;
      margin: 0 2%;
    }
    @include build("tool2", "info") {
      height: auto;
      box-sizing: border-box;
      padding-top: 8px;
      padding: 0 2.5%;
      text-align: justify;
    }
    @include build("tool2", "config") {
      width: 100%;
      height: calc(100% - 250px);
      box-sizing: border-box;
      padding-left: 6px;
      .configs_title {
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        .el-icon {
          cursor: pointer;
          margin: 0 10px;
        }
      }
    }
  }
}
